//
//  SHENetworkObj.h
//  SHEPuzzleFigure
//
//  Created by SW mini on 2019/11/25.
//  Copyright © 2019 Figure. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void (^SuccessBlock)(NSDictionary * _Nullable dict);
typedef void (^FailureBlock)(NSURLResponse * _Nullable response, NSError * _Nullable error);

NS_ASSUME_NONNULL_BEGIN

@interface SHENetworkObj : NSObject

+ (void)postwithUrl:(NSString *)apiUrl success:(nonnull SuccessBlock)successBlock failure:(nonnull FailureBlock)failureBlock;

@end

NS_ASSUME_NONNULL_END
